.login-background {
    height: 100%;
    width: 100%;
    background: url("/public/img/backgroundImg.jpeg") no-repeat center center fixed;
    background-size: cover;
    padding-top: 120px;
}
.login-container {

    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

/* Form styles */
.login-container form {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 10px; /* 圆角边框 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    position: relative; /* 添加相对定位 */
    overflow: hidden; /* 隐藏超出部分 */
}

/* 添加背景装饰 */
.login-container .form-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #007bff, #00bfff);
    opacity: 0.8; /* 背景透明度 */
    z-index: -1; /* 将背景置于最底层 */
}

.login-container h2 {
    margin-top: 0;
    color: #333;
}

.login-container label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.login-container input[type="text"],
.login-container input[type="tel"],
.login-container input[type="email"],
.login-container input[type="password"] {
    width: 90%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}


.login-container .error {
    color: red;
    margin-top: 10px;
}

/* Button styles */
.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-container button:hover {
    background-color: #0056b3;
}
